]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
popupMenu: Use consistent registerClass() style
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 29 Jun 2019 13:04:13 +0000 (15:04 +0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 1 Jul 2019 21:09:49 +0000 (21:09 +0000)
We don't add a line break between parameters and class elsewhere,
so be consistent with that.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606

js/ui/popupMenu.js

index 345934a5fadcc27a4abb64eff7704d3cb4dc8e88..b3762d870f352f527dcab388187be60cb4ff5ba2 100644 (file)
@@ -315,8 +315,7 @@ class Switch extends St.Bin {
 
 var PopupSwitchMenuItem = GObject.registerClass({
     Signals: { 'toggled': { param_types: [GObject.TYPE_BOOLEAN] }, },
-},
-class PopupSwitchMenuItem extends PopupBaseMenuItem {
+}, class PopupSwitchMenuItem extends PopupBaseMenuItem {
     _init(text, active, params) {
         super._init(params);